# 输入身高体重
height,weight=eval(input("请输入身高（米）和\体重（公斤），逗号隔开:"))
BMI=weight/pow(height,2)
print("BMI数值为：{:.2f}".format(BMI))
#判断BMI指标
who=""
if BMI < 18.5:
    who="过轻"
elif BMI <= 25:
    who="正常"
elif BMI <= 28:
    who="过重"
elif BMI <= 32:
    who="肥胖"
else:
    who="严重肥胖"
print("BMI指标为：'{}'".format(who))